package com.DHH.Entity.Base;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类BaseReMenuUserGroup
 * 数据表base_re_menu_user_group
 * 用户组——菜单(关系表)
 * 2017-8-3 12:33:07
 * @author Administrator
 *
 */
@Table(name = "base_re_menu_user_group")
public class BaseReMenuUserGroup  implements Serializable {

	//
	@Id
	@GeneratedValue(generator = "JDBC")
	private Integer id;
	//
	@NotNull(message = "不能为空")
	private Integer userGroupId;
	//
	@NotNull(message = "不能为空")
	private Integer menuId;


	public BaseReMenuUserGroup(){

	}

	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setUserGroupId(Integer userGroupId){
		this.userGroupId=userGroupId;
	}

	public Integer getUserGroupId(){
		return this.userGroupId;
	}
	public void setMenuId(Integer menuId){
		this.menuId=menuId;
	}

	public Integer getMenuId(){
		return this.menuId;
	}


}
